//
//  GYOrderRefundViewController.m
//  GoodLuck
//
//  Created by apple on 2018/3/24.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import "GYOrderRefundViewController.h"
#import "GYOnlyRefundViewController.h"

@interface GYOrderRefundViewController ()

@property (weak, nonatomic) IBOutlet UIImageView *goodsImageView;
@property (weak, nonatomic) IBOutlet UILabel *goodsNameLable;

@end

@implementation GYOrderRefundViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.navigationItem.title = @"选择服务";
    [self.goodsImageView sd_setImageWithURL:[NSURL URLWithString:self.orderGoods.image_60_url] placeholderImage:[UIImage imageNamed:@"4"]];
    self.goodsNameLable.text = self.orderGoods.goods_name;
}

- (IBAction)onClick:(UIButton *)sender {
    GYOnlyRefundViewController *onlyRefundVC = [[GYOnlyRefundViewController alloc] initWithNibName:@"GYOnlyRefundViewController" bundle:nil];
    onlyRefundVC.orderGoods = self.orderGoods;
    onlyRefundVC.if_refund_cancel = self.if_refund_cancel;
    [self.navigationController pushViewController:onlyRefundVC animated:YES];
}

@end
